<!-- $Id: shipping_list.htm 17043 2010-02-26 10:40:02Z sxc_shop $ -->
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}
<!-- start payment list -->
<div class="list-div" id="listDiv">
{foreach from=$modules item=value}
{if $value.shiplist}
<div class="shipping_list">
<h3>{$value.name}<span>{$value.desc}</span></h3>
<table cellspacing='0' cellpadding='3' class="shipping_list_th">
  <tr>
    <th width="15%">{$lang.shipping_name}</th>
    <th width="35%">{$lang.shipping_desc}</th>
    <!-- <th nowrap="true">{$lang.insure}</th> -->
    <th width="10%">{$lang.support_cod}</th>
    <!-- <th nowrap="true">{$lang.support_pickup}</th>
    <th nowrap="true">{$lang.shipping_version}</th>
    <th>{$lang.shipping_author}</th> -->
    <th width="5%">{$lang.sort_order}</th>
    <th width="25%">{$lang.handler}</th>
  </tr>
</table>
<table cellspacing='0' cellpadding='3' class="module">
  {foreach from=$value.shiplist item=module}
  <tr>
    <td class="first-cell"  width="15%" align="center">
      {if $module.install == 1}
      <span onclick="listTable.edit(this, 'edit_name', '{$module.code}'); return false;">{$module.name}</span>
      {else}
      {$module.name}
      {/if}
    </td>
    <td width="35%">
      {if $module.install == 1}
      <span onclick="listTable.edit(this, 'edit_desc', '{$module.code}'); return false;">{$module.desc}</span>
      {else}
      {$module.desc}
      {/if}
    </td>
    <!-- <td align="right">
      {if $module.install == 1 && $module.is_insure neq 0}
      <span onclick="listTable.edit(this, 'edit_insure', '{$module.code}'); return false;">{$module.insure_fee}</span>
      {else}
      {$module.insure_fee}
      {/if}
    </td> -->
    <td align='center' width="10%">{if $module.cod==1}{$lang.yes}{else}{$lang.no}{/if}</td>
    <!-- <td align='center'>{if $module.pickup==1}{$lang.yes}{else}{$lang.no}{/if}</td>
    <td nowrap="true">{$module.version}</td>
    <td nowrap="true"><a href="{$module.website}" target="_blank">{$module.author}</a></td> -->
    <td align="center" width="5%"> {if $module.install == 1} <span onclick="listTable.edit(this, 'edit_order', '{$module.code}'); return false;">{$module.shipping_order}</span> {else} &nbsp; {/if} </td>
    <td align="center" width="25%">
      {if $module.install == 1}

	  <a href="javascript:confirm_redirect(lang_removeconfirm,'shipping.php?act=uninstall&code={$module.code}')">{$lang.uninstall}</a>
	  {if $module.is_default_show}
      <span style="color:red">{$lang.defaultshow}</span>
      <a href="shipping_area.php?act=list&shipping={$module.id}">{$lang.shipping_area}</a>
      {if $module.code == 'pups'}
      <a href="pickup_point.php?act=list">{$lang.shipping_pups}</a>
      {/if}
      <a href="shipping.php?act=edit_print_template&shipping={$module.id}">{$lang.shipping_print_edit}</a>
	  {else}
	  
	  <a href="javascript:confirm_redirect(lang_isdefaultshowconfirm,'shipping.php?act=is_default_show&code={$module.code}');">{$lang.isdefaultshow}</a>
	  
	  {/if}
      {else}
      <a href="shipping.php?act=install&code={$module.code}">{$lang.install}</a>
      {/if}
    </td>
  </tr>
  {/foreach}
</table>
</div>
{/if}
{/foreach}
</div>
<!-- end payment list -->
<script type="Text/Javascript" language="JavaScript">
<!--
{literal}

onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
{/literal}
//-->
</script>
{include file="pagefooter.htm"}